const Angular = require('angular');
const app = Angular.module('timeLineApp', []);
import './index.scss'
import timeLine from '../../../components/timeLine';
timeLine(app)
app.controller('timeLineCtr', ['$scope', '$timeout', function ($scope, $timeout) {
    $scope.title = 'timeLine controller';

    $scope.activeNode = 'value0'
    $scope.timeLineData = [];
    for(let i = 0; i < 5; i++){
        let key = 'key'+i;
        let value = 'value'+i
        $scope.timeLineData.push({key, value})
    }
}])